package com.yhy.convert;

import com.yhy.basic.entity.SubjectCategory;
import com.yhy.entity.SubjectCategoryBO;

import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

import java.util.List;

@Mapper
public interface SubjectCategoryConvert {
    SubjectCategoryConvert INSTANCE = Mappers.getMapper(SubjectCategoryConvert.class);
    SubjectCategory convertBoToCategory(SubjectCategoryBO subjectCategoryBO);
    List<SubjectCategoryBO> convertBoToCategory(List<SubjectCategory> categoryList);

}
